import Taro, { Component } from '@tarojs/taro'
import Index from './pages/index'

import './app.less'

class App extends Component {

  config = {
    pages: [
      'pages/views/Drawer/index',
      'pages/views/Grid/index',
      'pages/views/WingBlank/index',
      'pages/views/Flex/index',
      'pages/index/index',
      'pages/views/List/index',
    ],
    window: {
      backgroundTextStyle: 'light',
      navigationBarBackgroundColor: '#fff',
      navigationBarTitleText: 'WeChat',
      navigationBarTextStyle: 'black'
    }
  }

  componentDidMount () { }

  componentDidShow () { }

  componentDidHide () { }

  componentCatchError () { }

  render () {
    return (<Index />)
  }
}

Taro.render(<App />, document.getElementById('app'))
